<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<div id="matt"></div>
<div id="sean"></div>
<div id="calc"></div>

<script>
var matt=0;
var sean=0;

for (var i = 0; i < 1000000; i++){
if (Math.floor(Math.random() * 13) > 4){
matt++;
}
else{
sean++;
}}

document.getElementById('matt').innerHTML = matt;
document.getElementById('sean').innerHTML = sean;
document.getElementById('calc').innerHTML = (sean / matt) * 100;


</script>

</body>
</html>
